package com.qfedu.edu.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管理员用户表
 * </p>
 *
 * @author xiaobobo
 * @since 2024-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qf_user")
@ApiModel(value="User对象", description="管理员用户表")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "真实名字")
    private String realName;

    @ApiModelProperty(value = "用户名，需要加密存储，可用于登录")
    private String username;

    @ApiModelProperty(value = "密码，需要加密存储")
    private String password;

    @ApiModelProperty(value = "手机号，需要加密存储，可用于登录")
    private Integer phone;

    @ApiModelProperty(value = "邮箱，需要加密存储，可用于登录")
    private String email;

    @ApiModelProperty(value = "是否可用,1可用,2不可用")
    private Integer enable;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删标识")
    @TableLogic
    private Integer deleted;


}
